package so.ifl.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.RowBounds;

import so.ifl.vo.StaffDetailVo;
import so.ifl.vo.StaffVo;

/**
 *create by aaron.lu
 *create at 2013-3-9 下午5:27:23
 *<mailto: atyuan.lu@gmail.com>
 **/
public interface StaffInfoDao {
	public List<StaffVo> queryStaffWithParamAndPagination(Map<String, Object> params, RowBounds rowBounds);
	
	public Integer countStaffWithParam(Map<String, Object> params);
	
	public List<StaffDetailVo> queryStaffDetail(Map<String, Object> params, RowBounds rowBounds);
	
	public void insertStaffDetail(StaffDetailVo staffDetailVo);
	
	public void insertStaff(StaffVo  staffVo);
	
	public void deleteStaff(Integer staffId);
	
	public void deleteStaffDetail(Integer staffDetailId);
	
	public void updateStaff(StaffVo staffVo);
	
	public void updateStaffDetail(StaffDetailVo staffDetailVo);
	
 }
